﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Engine;
using Engine.Components;

namespace Engine.Tests
{
	[TestFixture]
	public class ValidatingConnections
	{
		[Test]
		public void RunIntegerAdder3()
		{
			IntegerAdder3 adder = new IntegerAdder3();
			adder.Op1 = 10;
			adder.Op2 = 139;
			adder.Op3 = 4096;

			adder.Execute();

			int result = adder.Result;

			Assert.IsTrue(result == 10 + 139 + 4096);
		}
	}
}
